package com.elong.spring.inject;

import java.lang.reflect.Method;

import org.springframework.beans.factory.support.MethodReplacer;

import com.elong.spring.reflect.Car;

public class Boss2 implements MethodReplacer{

    @Override
    public Object reimplement(Object obj, Method method, Object[] args) throws Throwable {
	Car car = new Car();
	car.setBrand("美人豹");
	return car;
    }

}
